package com.zHan.service;

import com.zHan.pojo.Emp;
import com.zHan.pojo.PageBean;

import java.time.LocalDate;
import java.util.List;

/**
 * 员工管理
 */
public interface EmpService {
    boolean deleteByIds(List<Integer> ids);

    PageBean page(Integer page, Integer pageSize, String name, Short gender, LocalDate begin,LocalDate end);

    boolean insert(Emp emp);

    Emp selectById(Integer id);

    boolean update(Emp emp);

    Emp login(Emp emp);

    void deleteByDeptId(Integer id);
}
